import Vue from "vue";
import App from "./App.vue";

// 引入插件
import vueResource from "vue-resource"

//引入store
import store from "./store"

Vue.config.productionTip = false;
Vue.use(vueResource);


new Vue({
    el: "#app",
    render: h => h(App),
    store,
    beforeCreate() {
        Vue.prototype.$bus = this;//安装全局事件总线
    }
})